﻿using System;
using System.Web.UI;

namespace SystemX.Web
{
    public class SiteMaster:MasterPage
    {
        /// <summary>
        /// current userid accessing to the page
        /// </summary>
        public string CurUserID = "_ANONYMOUS_";
		public bool IsDebug {
			get
			{
#if !DEBUG
				return false;
#else
				return true;
#endif

			}
		}
        /// <summary>
        /// Return url for bos app
        /// </summary>
        public string ReturnUrl = "";
        public string AbsoluteWebRoot {
            get
            {
                return Utils.AbsoluteWebRoot.ToString();
            }
        }
        public bool IsLogined {
            get
            {
                return Utils.IsLogined;
            }
        }
    }
}
